
/* Pour bouton vers le bas */
/* .myBtnBas { */
  /* display: block;  Visible */
  /* position: fixed; Position fixe */
  /* top: 18%; En haut */
  /* right: 10%; À droite */
  /* z-index: 99; Toujours au-dessus */
  /* border: none;
  outline: none;
  background-color:  #59c9e867;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
} */

/* .myBtnBas:hover {
  background-color: #59cae8;
} */

/* Pour bouton vers le haut */
#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 5%; /* Place the button at the bottom of the page */
  right: 6%; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #59c9e867; /* Set a background color */
  color: #e7900d; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 10px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 14px; /* Increase font size */
  
}

#myBtn:hover {
  background-color: #59cae8; /* Add a dark-grey background on hover */
}

button{
 text-align: justify;
 color: white;
 font-size: 14px;
 font-weight: bold;
 background-color: #4e4848;
 cursor: pointer;
 border-radius: 50px;
}

/* Le theme du site qui defile de gauche vers la doite */

.defile {
    width: 100%;
    overflow: hidden;
    background: #3f506063;
    color: black;
    padding: 16px 0;
    border-radius: 12px;
    margin: 20px auto;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.defile span {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: defilement 18s linear infinite;
}

.defile:hover span {
    animation-play-state: paused;
}

@keyframes defilement {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 600px) {
    .defile {
        font-size: 1rem;
        padding: 13px 0;
        border-radius: 8px;
    }
}


 header{
background-color: #3f5060;
text-align: center;
padding-top: 5%;
padding-bottom: 5%;
text-decoration: none;
border-radius: 50px;

}

/* BOUTON POUR TRADUIRE */

/* Sélecteur de langue H MaTech TI */
/* .language-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    margin: 20px auto;
    background-color: #3f506063;
    border-top: 2px solid #3f5060;
    border-bottom: 2px solid #3f5060;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(63, 80, 96, 0.25);
} */

/* Boutons de langue */
/* .language-btn {
    padding: 11px 22px;
    background-color: #3f5060;
    color: #ffffff;
    border: 2px solid #59cae8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
} */

/* Survol */
/* .language-btn:hover {
    background-color: #59cae8;
    color: #3f5060;
    border-color: #3f5060;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
} */

/* Langue sélectionnée */
/* .language-btn.active {
    background-color: #59cae8;
    color: #3f5060;
    border-color: #3f5060;
    box-shadow: 0 3px 8px rgba(63, 80, 96, 0.25);
} */

/* Accessibilité clavier */
/* .language-btn:focus-visible {
    outline: 3px solid #59cae8;
    outline-offset: 4px;
} */

/* Téléphones */
/* @media (max-width: 480px) {
    .language-selector {
        gap: 8px;
        padding: 12px 8px;
    }

    .language-btn {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .language-btn {
        transition: none;
    }
} */



/* Bouton menu mobile */
.menu-toggle{
    display:none;
    background:#3f5060;
    color:white;
    border:none;
    font-size:28px;
    padding:15px;
    cursor:pointer;
    width:100%;
    text-align:right;
}

/* Version mobile */
@media (max-width: 768px){

    .menu-toggle{
        display:block;
    }

    .navbar{
        display:none;
        flex-direction:column;
        width:100%;
    }

    .navbar.active{
        display:flex;
    }

}

 body {
        font-family: Arial, sans-serif;
        margin: 0;
        background-color: #59cae8;
        text-align: center;
        font-family: Arial, sans-serif;
        padding: 20px;
        min-height:100vh;
        border-radius: 5%;
        }

        /* POUR LE FOOTER */
        footer{
            background-color: #3f5060;
            color: white;
            text-align: center; 
            margin-top: 3%;
            padding: 15px 0;
            border-radius: 30px;
        }
            /* Adresse compacte */
            footer address {
            margin: 10px 0;
            line-height: 1.4;       /* réduit l'espacement vertical */
        }

/* affiche le Google map dans le footer */
         .map-container{
        width:70%;
        height: 200px;
        margin: 10px auto;
        display: inline-block;         
        }       
/* icon footer */
       i{
        margin:0 10px;
        color:white;
        font-size:25px;
        }


  .image-accueil img{
            max-width:80%;
            height:auto;
            border-radius:20px;
            box-shadow:0 0 20px rgba(0,0,0,0.3);nav-up: 15%;
             /* object-fit: cover; garde les proportions, recadre si nécessaire */
        }

         .logo {
            position: absolute;
            top: 12px;
            left: 20px;
            width: 95px; /* Ajustez la taille */
            height: auto;
            padding-top: 15px;
            padding-left: 10px;

        }

        .container {
            width: 80%;
            max-width: 1000px;
            margin: 30px auto;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.2);
        }

        hr {
            margin-right: 25%;
            margin-left: 25%;
            margin-top: 1%;
        }

         h1 {
            margin-top: 5%;
            text-align: center;
            color: black
        }

        h2 {
            color: black;   
            margin-top: 5%;
            text-align: center;
        }

        #h3 {
            padding-top: 5%;
        }

        .coordonnees strong {
            color: white;
            font-size: 18px;
            line-height: 2;
        }

        iframe {
            width: 100%;
            height: 450px;
            border: 0;
            margin-top: 20px;
            border-radius: 10px;
        }

        a {
            text-align: center;
            color: #f9d342;
            text-decoration: none;
        }

        a:hover {
            text-decoration: none;
        }

        .form-group {
        margin-bottom: 15px;
        }

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

p {
    font-size: 16px;
    margin-top:3%;
    color: black
    
}


textarea {
    resize: vertical;
    height: 120px;
}


button:hover {
    color:  rgb(235, 157, 63);
}

.job{

    padding:20px;
    margin-bottom:20px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.job h3{
    color:#c00000;
}

form{

    padding:25px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
}

label{
    display:block;
    margin-top:10px;
    font-weight:bold;
}

input, select, textarea{

    padding:10px;
    margin-top:5px;
    border:1px solid #ccc;
    border-radius:5px;
}


 .sitemap {
            max-width: 800px;
            margin: auto;
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

        ul {
            list-style-type: none;
        }

        li {
            margin: 10px 0;
        }

         a {
            text-decoration: none;
            font-weight: bold;
            text-align: center;
            color: #59cae8
        
        }

        a:hover {
            color: white
        }

     .level-2 {
            margin-left: 30px;
        }

    .slider{
    position:relative;
    width:100%;
    height:550px;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 0 15px rgba(0,0,0,0.3);
    background:#000;
}

.slide{
    display:none;
    width:100%;
    height:100%;
}

.slide img,
.slide video{
    width:100%;
    height:100%;
    object-fit:cover;
}

.active{
    display:block;
}

.prev, .next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.6);
    color:white;
    border:none;
    padding:15px;
    cursor:pointer;
    font-size:24px;
    border-radius:50%;
}

.prev:hover,
.next:hover{
    background:#ffcc00;
    color:#2e2e2e;
}

.prev{
    left:15px;
}

.next{
    right:15px;
}

.caption{
    position:absolute;
    bottom:0;
    width:100%;
    background:rgba(0,0,0,0.6);
    color:white;
    text-align:center;
    padding:15px;
    font-size:20px;
}




/* Cette configuration conserve toujours les proportions originales de Visite.mp4, quel que soit l'écran (ordinateur, tablette ou téléphone). */
video {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 20px auto;
    border: 4px solid #3f5060;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}



    .Auteur{
            color: white;
            font-size: 12px;
    }

    /* POUR LA PAGE SERVICES H MaTech */
  /* ============================
   NAVIGATION
============================ */

.btn-soumission {
    display: inline-block;
    background-color: #3f5060;
    color: #ffffff;
    border: 2px solid #59cae8;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-soumission:hover {
    background-color: #59cae8;
    color: #3f5060;
    border-color: #3f5060;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.btn-soumission:focus-visible {
    outline: 3px solid #59cae8;
    outline-offset: 4px;
}

.btn-soumission:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}






/* NOUVEAU CSS POUR PAGE PRODUIT */
/* Pour bouton virement interact */
.pay.interac {
    background-color: #59cae8;
    color: #3f5060;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 600;
    cursor: pointer;
}

:root{
  --navy:#131921;
  --navy2:#232f3e;
  --orange:#59cae8;--yellow:#3f5060;
--bg:#59cae8;
--white:#fff;
--text:#17202a;
--muted:#667085;
--green:#067d62}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;
font-family:Arial,Helvetica,sans-serif;
background:var(--bg);color:var(--text)
}
/* 
.top{background:var(--navy);
  align-items:center;
   flex-shrink:0;   aucun élément ne grossit */
  /* color:#fff;
  padding:10px 3%;display:flex;
  gap:18px;
  align-items:center;
  position:sticky;
  top:0;z-index:50
} */

/* .search{flex:1;display:flex;height:42px}.search input{flex:1;border:0;padding:0 14px;
  font-size:15px;border-radius:5px 0 0 5px}
  .search button{width:55px;border:0;background:var(--orange);font-size:19px; */


    /* border-radius:0 5px 5px 0;cursor:pointer} */

/* .toplink{color:#fff;text-decoration:none;font-size:13px;
  white-space:nowrap}
  .toplink strong{display:block;font-size:16px}
  
  .cartBtn{
    background:none;
    border:0;
    color:#fff;
    font-size:24px;
    cursor:pointer;
    position:relative
  }
    .cartBtn{
  font-size:24px;
  flex-shrink:0;     ← empêche de grossir */
/* } */

    /* .badge{position:absolute;
    top:-5px;
    right:-7px;
    background:#59cae8;
    color:#111;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    padding:3px 7px
  } */

/* 

  NOUVEAU STYLE POUT .TOP' BTN' BADGE  */
  /* HEADER PRINCIPAL */
/* .top{
  background:var(--navy);
  color:#a56300;
  padding:10px 3%;
  display:flex;
  gap:18px;
  align-items:center;
  position:sticky;
  top:0;
  z-index:50;
} */

/* Logo (bloc) */
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  max-width:180px;      /* limite la largeur du logo */
  flex:0 0 auto;        /* ne s’étire pas */
}
/* .logo img{
  height:40px;
  width:auto;
} */

/* conserver ton logo rond comme sur l'image, mais sans qu'il dépasse : */
.logo img{
    height:90px;
    width:90px;
    border-radius:50%;
    border:3px solid #59cae8;
    object-fit:cover;
}

/* Lien texte à droite du logo */
.toplink{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  white-space:nowrap;
}
.toplink strong{
  display:block;
  font-size:16px;
}

/* Bouton panier */
.cartBtn{
  background:none;
  border:0;
  color:#fff;
  font-size:24px;
  cursor:pointer;
  position:relative;
  flex:0 0 auto;        /* taille fixe, ne s’étire pas */
}
.badge{
  position:absolute;
  top:-5px;
  right:-7px;
  background:#59cae8;
  color:#111;
  border-radius:20px;
  font-size:12px;
  font-weight:bold;
  padding:3px 7px;
}

/* RESPONSIVE MOBILE */
@media(max-width:650px){

  .top{
    flex-wrap:wrap;
    justify-content:space-between;  /* espace entre logo et panier */
  }
/* 
  .logo{ */
    /* max-width:160px;                un peu plus petit sur mobile */
  /* } */

  .toplink{
    display:none;                   /* on cache le texte pour gagner de la place */
  }

  /* Si tu remets la search plus tard :
  .search{
    order:3;
    flex-basis:100%;
  }
  */
}


.nav{background:var(--navy2);
  color:#fff;
  padding:10px 3%;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 15px;
  display:flex;
  gap:22px;
  overflow:auto
}
.nav a{color:#fff;
  text-decoration:none;
  white-space:nowrap;
  font-weight:bold;
  font-size:14px
}
.hero{background:linear-gradient(100deg,#dfe9f3,#fff)
  ;padding:42px 5%;
  display:flex;
  border-radius: 15px;
margin-top: 20px;
  align-items:center;
  justify-content:space-between;
  min-height:260px
}
  .hero h1{font-size:42px;
    margin:0 0 12px
  }

  .hero p{font-size:18px;
    color:#475467
  }
    
    .hero .cta{background:var(--yellow);
      border:1px solid #c9a600;
    padding:12px 20px;
    border-radius:8px;
    font-weight:bold;
    cursor:pointer
  }

.container_Produit{
  background-color: #3f506063;
  border-radius: 10px;
  max-width:1450px;
  margin:auto;
  margin-top: 20px;
  padding:22px 3%
}
  
  .section{margin-bottom:35px}
.section h2{font-size:27px;margin:10px 0 16px}
.grid{display:grid;grid-template-columns:repeat(4,1fr)
  ;gap:18px
}

.card{background:#fff
  ;border-radius:8px;
  padding:15px;
  box-shadow:0 1px 3px #0002;
  display:flex;
  flex-direction:column;min-width:0
}
  
  .card h3{margin:10px 0 7px;font-size:18px}
  .price{font-size:22px;
    font-weight:800;
    margin:4px 0
  }
  .rating{color:#59cae8;font-size:14px}
  .desc{font-size:13px;color:#667085;
  min-height:35px}
  
  .slider{
    position:relative;
    height:220px;
    background:#f7f7f7;
    border-radius:6px;
    overflow:hidden
  }
    
    .slider img{
      width:100%;
      height:100%;
      object-fit:contain;
      display:none
    }
      .slider img.active{
        display:block
      }
        
        .slideBtn{
          position:absolute;
        top:45%;
        background:#fffddcdd;
        border:1px solid #999;
        padding:8px 11px;
        border-radius:4px;
        cursor:pointer}
        .prev{left:7px}
        
        .next{
          right:7px
        }
        .dots{
          text-align:center;
          margin-top:5px
        }
          .dots span{
          display:inline-block;
          width:7px;
          height:7px;
          border-radius:50%;
          background:#aaa;
          margin:0 3px
        }
          
          .dots span.active{
            background:#111
          }

.actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:auto;
  padding-top:12px
}

.add,.buy{
  border-radius:18px;
  padding:10px 5px;
  border:1px solid #aaa;
  cursor:pointer;
  font-weight:bold}
.add{background:#3f5060
}
.buy{
  background:#59cae8;
  border-color:#59cae8
}
.stock{
  color:var(--green);
  font-size:13px;
  margin-top:8px}
/* footer{background:#131a22;color:#fff;padding:30px 5%;margin-top:25px;text-align:center}
.footerLinks{display:flex;justify-content:center;gap:25px;flex-wrap:wrap;margin-bottom:15px} */
.drawer{position:fixed;
  right:-430px;
  top:0;
  width:430px;max-width:100%;
  height:100vh;
  background:#fff;
  z-index:100;
  box-shadow:-5px 0 20px #0004;
  transition:.25s;
  padding:20px;display:flex;
  flex-direction:column
}

  .drawer.open{
    right:0}
    .drawerHead{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #ddd
  }
  .close{
    border:0;
    background:none;
    font-size:28px;
    cursor:pointer}
    .cartItems{
      overflow:auto;
      flex:1
    }
    .cartItem{
      display:grid;
      grid-template-columns:70px 1fr auto;
      gap:10px;
      padding:12px 0;
      border-bottom:1px solid #ddd}
      .cartItem img{
        width:70px;
        height:60px;
        object-fit:contain
      }
        .qty{
          display:flex;
          align-items:center;
        gap:5px
      }
      .qty button{
        width:25px;
        height:25px;
        border:1px solid #aaa;
        background:#fff;
        cursor:pointer
      }
      .remove{border:0;
        background:none;
        color:#c00;
        cursor:pointer
      }
     .total{
      border-top:2px solid #222;
      padding:15px 0;
      font-size:20px;
      font-weight:bold}.checkout{width:100%;
      padding:13px;
      border:0;
      border-radius:6px;
      background:#3f5060;
      font-weight:bold;
      cursor:pointer
    }
.overlay{
  display:none;position:fixed;
  inset:0;
  background:#0008;
  z-index:90
}
.overlay.show{display:block
}

.modal{
  display:none;
  position:fixed;
  z-index:110;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(260px,94%);
  background:#fff;
  border-radius:10px;
  padding:25px;
  box-shadow:0 10px 40px #0005}
  .modal.show{
    display:block
  }
  .modal h2{
    margin-top:0
  }
  .payment{
    display:grid;
    gap:12px
  }
  .pay{
    padding:13px;
    border-radius:7px;
    border:1px solid #aaa;
    font-weight:bold;
    cursor:pointer
  }
  .paypal{
    background:#3f5060
  }
.stripe{
  background:#635bff;
  color:#fff
}
.note{
  font-size:13px;
  color:#667085;
  background:#f4f5f7;
padding:10px;
border-radius:6px
}
.empty{
  text-align:center;
  color:#667085;padding:35px
}

@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}
.hero h1{font-size:32px}}
@media(max-width:650px){

.top{flex-wrap:wrap}
.top > *{
  flex-shrink:0;     /* empêche de grossir ou se déformer */
  /* flex-wrap:wrap; */
    justify-content:space-between;
}

/* .logo{width:30%} */
/* .search{order:3;flex-basis:100%;
  padding-top:5%;
} */
.toplink{display:none}.grid{grid-template-columns:1fr}.hero{padding:30px 6%;min-height:210px}
.hero h1{font-size:28px}.slider{height:250px}.actions{grid-template-columns:1fr}.drawer{width:50%}}



/* Message de disponibilité des produits */
.produits-hero  h1 {
    color: #ffffff;
    font-size: clamp(25px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.4;
    margin: 10px auto 20px;
    max-width: 1050px;
    text-shadow: none;
    animation: zoom3D 1s ease-out both;
    transition: transform 0.3s ease;
}

.produits-hero h1:hover {
    transform: scale(1.02);
    text-shadow: none;
}

/* Sous-titre */
.produits-hero h2 {
    color: #59cae8;
    font-size: clamp(18px, 2.2vw, 27px);
    font-weight: 600;
    margin: 0 0 18px;
    text-shadow: none;
    animation: zoom3D 1s ease-out 0.2s both;
}

/* Message de patience */
.message-patience {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.7;
}

/* Zoom sans effet 3D */
@keyframes zoom3D {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Adaptation mobile */
@media (max-width: 560px) {
    .carriere-hero {
        margin: 18px 10px;
        padding: 35px 18px;
    }

    .carriere-hero h1 {
        font-size: 25px;
    }

    .carriere-hero h2 {
        font-size: 18px;
    }

    .message-patience {
        font-size: 16px;
    }
}



















    
/* POUR LA page PRODUITS */
/* :root{
  --navy:#131921;
  --navy2:#232f3e;
  --orange:#ff9900;
  --yellow:#ffd814;
  --bg:#eaeded;
  --white:#fff;
  --text:#17202a;
  --muted:#667085;
  --green:#067d62;
} */

/* Base */
/* *{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
} */

/* Top bar */
/* .top{
  background:var(--navy);
  color:#fff;
  padding:10px 3%;
  display:flex;
  gap:18px;
  align-items:center;
  position:sticky;
  top:0;
  z-index:50;
}
.logo{
  font-size:25px;
  font-weight:800;
  white-space:nowrap;
}
.logo span{color:var(--orange)} */

/* Search */
/* .search{
  flex:1;
  display:flex;
  height:42px;
}
.search input{
  flex:1;
  border:0;
  padding:0 14px;
  font-size:15px;
  border-radius:5px 0 0 5px;
}
.search button{
  width:55px;
  border:0;
  background:var(--orange);
  font-size:19px;
  border-radius:0 5px 5px 0;
  cursor:pointer;
} */

/* Top links */
/* .toplink{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  white-space:nowrap;
}
.toplink strong{
  display:block;
  font-size:16px;
} */

/* Cart button */
/* .cartBtn{
  background:none;
  border:0;
  color:#fff;
  font-size:27px;
  cursor:pointer;
  position:relative;
}
.badge{
  position:absolute;
  top:-5px;
  right:-7px;
  background:#f08804;
  color:#111;
  border-radius:20px;
  font-size:12px;
  font-weight:bold;
  padding:3px 7px;
} */

/* Nav */
/* .nav{
  background:var(--navy2);
  color:#fff;
  padding:10px 3%;
  display:flex;
  gap:22px;
  overflow:auto;
}
.nav a{
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
  font-weight:bold;
  font-size:14px;
} */

/* Hero */
/* .hero{
  background:linear-gradient(100deg,#dfe9f3,#fff);
  padding:42px 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:260px;
}
.hero h1{
  font-size:42px;
  margin:0 0 12px;
}
.hero p{
  font-size:18px;
  color:#475467;
}
.hero .cta{
  background:var(--yellow);
  border:1px solid #c9a600;
  padding:12px 20px;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
} */

/* Layout */
/* .container{
  max-width:1450px;
  margin:auto;
  padding:22px 3%;
}
.section{
  margin-bottom:35px;
}
.section h2{
  font-size:27px;
  margin:10px 0 16px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
} */

/* Card */
/* .card{
  background:#fff;
  border-radius:8px;
  padding:15px;
  box-shadow:0 1px 3px #0002;
  display:flex;
  flex-direction:column;
  min-width:0;
}
.card h3{
  margin:10px 0 7px;
  font-size:18px;
}
.price{
  font-size:22px;
  font-weight:800;
  margin:4px 0;
}
.rating{
  color:#e47911;
  font-size:14px;
}
.desc{
  font-size:13px;
  color:#667085;
  min-height:35px;
} */

/* Slider */
/* .slider{
  position:relative;
  height:220px;
  background:#f7f7f7;
  border-radius:6px;
  overflow:hidden;
}
.slider img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:none;
}
.slider img.active{display:block}
.slideBtn{
  position:absolute;
  top:45%;
  background:#fffddcdd;
  border:1px solid #999;
  padding:8px 11px;
  border-radius:4px;
  cursor:pointer;
}
.prev{left:7px}
.next{right:7px}
.dots{
  text-align:center;
  margin-top:5px;
}
.dots span{
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#aaa;
  margin:0 3px;
}
.dots span.active{background:#111} */

/* Actions */
/* .actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:auto;
  padding-top:12px;
}
.add,.buy{
  border-radius:18px;
  padding:10px 5px;
  border:1px solid #aaa;
  cursor:pointer;
  font-weight:bold;
}
.add{background:#ffd814}
.buy{
  background:#ff9900;
  border-color:#e47911;
}
.stock{
  color:var(--green);
  font-size:13px;
  margin-top:8px;
} */



/* Drawer (cart) */
/* .drawer{
  position:fixed;
  right:-430px;
  top:0;
  width:430px;
  max-width:100%;
  height:100vh;
  background:#fff;
  z-index:100;
  box-shadow:-5px 0 20px #0004;
  transition:.25s;
  padding:20px;
  display:flex;
  flex-direction:column;
}
.drawer.open{right:0}
.drawerHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #ddd;
}
.close{
  border:0;
  background:none;
  font-size:28px;
  cursor:pointer;
}
.cartItems{
  overflow:auto;
  flex:1;
}
.cartItem{
  display:grid;
  grid-template-columns:70px 1fr auto;
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid #ddd;
}
.cartItem img{
  width:70px;
  height:60px;
  object-fit:contain;
}
.qty{
  display:flex;
  align-items:center;
  gap:5px;
}
.qty button{
  width:25px;
  height:25px;
  border:1px solid #aaa;
  background:#fff;
  cursor:pointer;
}
.remove{
  border:0;
  background:none;
  color:#c00;
  cursor:pointer;
}
.total{
  border-top:2px solid #222;
  padding:15px 0;
  font-size:20px;
  font-weight:bold;
}
.checkout{
  width:100%;
  padding:13px;
  border:0;
  border-radius:6px;
  background:#ffd814;
  font-weight:bold;
  cursor:pointer;
} */

/* Overlay & modal */
/* .overlay{
  display:none;
  position:fixed;
  inset:0;
  background:#0008;
  z-index:90;
}
.overlay.show{display:block}
.modal{
  display:none;
  position:fixed;
  z-index:110;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(560px,94%);
  background:#fff;
  border-radius:10px;
  padding:25px;
  box-shadow:0 10px 40px #0005;
}
.modal.show{display:block}
.modal h2{margin-top:0}
.payment{
  display:grid;
  gap:12px;
}
.pay{
  padding:13px;
  border-radius:7px;
  border:1px solid #aaa;
  font-weight:bold;
  cursor:pointer;
}
.paypal{background:#ffc439}
.stripe{
  background:#635bff;
  color:#fff;
}
.note{
  font-size:13px;
  color:#667085;
  background:#f4f5f7;
  padding:10px;
  border-radius:6px;
}
.empty{
  text-align:center;
  color:#667085;
  padding:35px;
} */

/* Responsive */
/* @media(max-width:1000px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:32px}
}
@media(max-width:650px){
  .top{flex-wrap:wrap}
  .logo{width:100%}
  .search{order:3;flex-basis:100%}
  .toplink{display:none}
  .grid{grid-template-columns:1fr}
  .hero{
    padding:30px 6%;
    min-height:210px;
  }
  .hero h1{font-size:28px}
  .slider{height:250px}
  .actions{grid-template-columns:1fr}
  .drawer{width:100%}
} */







/* CSS POUR PAGE APPLE */
/* :root{--black:#000;--dark:#0b0b0d;--gray:#86868b;--light:#f5f5f7;--white:#fff;--border:#d2d2d7;--blue:#0071e3}
*{box-sizing:border-box}html{scroll-behavior:smooth}
button,input,select{font:inherit}button{cursor:pointer}
.nav{position:sticky;top:0;z-index:1000;height:64px;background:rgba(0,0,0,.94);backdrop-filter:saturate(180%) blur(20px);display:flex;align-items:center;gap:18px;padding:0 max(22px,calc((100% - 1180px)/2));color:#fff}
.apple-logo{font-size:26px;line-height:1}.brand{font-size:17px;font-weight:600;white-space:nowrap}.search{margin-left:auto;max-width:330px;flex:1}
.search input{width:100%;border:1px solid #555;background:#1c1c1e;color:#fff;border-radius:22px;padding:10px 16px;outline:none}
.cart-btn{border:0;background:transparent;color:#fff;padding:10px 2px;font-weight:600}.badge{display:inline-flex;min-width:20px;height:20px;border-radius:50%;align-items:center;justify-content:center;background:#fff;color:#000;font-size:12px;margin-left:4px}
.hero{background:#000;color:#fff;min-height:590px;display:flex;align-items:center;justify-content:center;text-align:center;padding:70px 22px;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:750px;height:750px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.12),transparent 65%);top:-280px;right:-160px}
.hero-content{position:relative;z-index:2;max-width:900px}.eyebrow{font-size:18px;font-weight:600;color:#aaa;margin-bottom:12px}
.hero h1{font-size:clamp(50px,8vw,94px);line-height:.98;margin:0 0 22px;letter-spacing:-4px}.hero p{font-size:clamp(20px,3vw,30px);line-height:1.25;color:#d2d2d7;margin:0 auto 32px;max-width:760px}
.cta{border:0;border-radius:24px;background:#fff;color:#000;padding:13px 24px;font-weight:600}
.categories{padding:55px 22px 20px;background:#fff}.container{max-width:1180px;margin:auto}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-title h2{font-size:34px;letter-spacing:-1px;margin:0}
.category-grid{display:flex;gap:10px;overflow-x:auto;padding-bottom:15px}.category{border:1px solid var(--border);border-radius:18px;padding:14px 18px;min-width:max-content;background:#fff;transition:.2s}
.category:hover,.category.active{background:#000;color:#fff;border-color:#000}
.products{padding:35px 22px 80px;background:#f5f5f7}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.product{background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.07);transition:.25s}.product:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(0,0,0,.12)}
.product-img{height:410px;background:#f8f8fa;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:cover}
.tag{position:absolute;left:18px;top:18px;background:#fff;padding:7px 12px;border-radius:16px;font-size:12px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.slide-btn{position:absolute;top:50%;transform:translateY(-50%);border:0;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.92);font-size:27px;box-shadow:0 2px 10px rgba(0,0,0,.15)}.prev{left:14px}.next{right:14px}
.dots{position:absolute;bottom:15px;left:0;right:0;display:flex;justify-content:center;gap:6px}.dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#aaa}.dot.active{background:#000}
.product-body{padding:25px 25px 28px}.product-body h3{font-size:27px;margin:0 0 8px;letter-spacing:-.6px}.stars{font-size:13px;margin-bottom:12px}.desc{color:#6e6e73;line-height:1.5;min-height:46px}
.price{font-size:23px;font-weight:700;margin:18px 0}.price small{font-size:12px;font-weight:500;color:#6e6e73}.actions{display:flex;gap:10px}.btn{border-radius:22px;padding:11px 17px;border:1px solid #000;font-weight:600;flex:1}.btn-cart{background:#fff;color:#000}.btn-buy{background:#000;color:#fff}
.checkout-card{display:none;max-width:900px;margin:55px auto;padding:30px;background:#fff;border:1px solid var(--border);border-radius:28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field input,.store select{border:1px solid var(--border);border-radius:12px;padding:12px;background:#fff}
.delivery{margin:25px 0;padding:20px;border-radius:18px;background:var(--light);display:grid;gap:12px}.store{display:none}.pay-options{display:grid;gap:10px}.pay-option{padding:13px;border:1px solid var(--border);border-radius:12px}.summary{margin-top:25px;border-top:1px solid var(--border);padding-top:18px}
.row{display:flex;justify-content:space-between;padding:6px 0}.total{font-size:20px;font-weight:700;border-top:1px solid var(--border);margin-top:10px;padding-top:15px}.submit{width:100%;border:0;border-radius:24px;background:#000;color:#fff;padding:14px;font-weight:700;margin-top:20px}
.drawer-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:2000}.drawer{position:absolute;right:0;top:0;height:100%;width:min(460px,100%);background:#fff;padding:24px;display:flex;flex-direction:column}.drawer-head{display:flex;justify-content:space-between;align-items:center}.close{border:0;background:#f5f5f7;border-radius:50%;width:36px;height:36px}
#cartItems{overflow:auto;flex:1;margin-top:15px}.cart-item{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:14px 0}.cart-item img{width:70px;height:70px;object-fit:cover;border-radius:12px}.cart-item h4{margin:0 0 5px}.qty{display:flex;align-items:center;gap:8px;margin-top:8px}.qty button{border:1px solid var(--border);background:#fff;border-radius:50%;width:28px;height:28px}.remove{border:0;background:none;color:#666;font-size:12px}.drawer-total{border-top:1px solid var(--border);padding-top:18px}
@media(max-width:760px){.nav{padding:0 14px}.brand{display:none}.search{max-width:none}.product-grid{grid-template-columns:1fr}.product-img{height:330px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.hero{min-height:500px}} */


/* POUR FAQ */
.containerFAQ{
    width:90%;
    max-width:1000px;
    margin:30px auto;
}

.faq{
    background:white;
    margin-bottom:10px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 0 8px rgba(0,0,0,0.2);
}

.question{
    background:#3f5060;
    color:white;
    padding:15px;
    cursor:pointer;
    font-weight:bold;
}

.reponse{
    display:none;
    padding:15px;
    line-height:1.6;
}

/* POUR PAGE CARRIERE */


.carriere-hero {
    background-color: #3f506063;

    /* Espacement */
    margin: 25px 20px 0;
    padding: 65px 20px;

    /* Coins arrondis */
    border-radius: 18px;

    /* Bordures supérieure et inférieure */
    border-top: 5px solid #3f5060;
    border-bottom: 5px solid #3f5060;

    /* Ombre extérieure du bloc */
    box-shadow: 0 8px 20px rgba(63, 80, 96, 0.35);

    /* Présentation */
    text-align: center;
    position: relative;
    overflow: hidden;

    /* Animation de zoom conservée */
    animation: zoom3D 1s ease-out both;
}

/* Titre sans effet 3D */
.carriere-hero h1 {
    color: #3f5060;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 24px;
    text-shadow: none;
    transition: transform 0.3s ease;
}

.carriere-hero h1:hover {
    transform: scale(1.04);
    text-shadow: none;
}

/* Sous-titre */
.carriere-hero h2 {
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}


@keyframes zoom3D {
    from {
        opacity: 0;
        transform: scale(0.75);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* FIN DU HERO */



.containerCA{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.emplois{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:40px;
}

.poste{
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.2);
}

.poste h3{
    color:black;
}

.formulaire{
    background:#3f506063;
    padding:30px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,0.2);
}

label{
    display:block;
    margin-top:15px;
    font-weight:bold; 
}


input, select, textarea{
    width:100%;
    padding:10px;
    margin-top:5px;
    border:1px solid #ccc;
    border-radius:5px;
    box-sizing:border-box;
}
/* Cartes des postes */

.poste{
    background:#3f5060;
    padding:25px;
    border-radius:15px;
    margin-bottom:20px;
    transition:all 0.35s ease;
    cursor:pointer;
    border:2px solid transparent;
}

/* Effet au survol */

.poste:hover{
    transform:translateY(-8px) scale(1.03);
    border-color:#59cae8;
    box-shadow:0 15px 35px rgba(89,202,232,0.35);
}

/* Titre du poste */

.poste h3{
    color:#59cae8;
    transition:all 0.3s ease;
}

.poste:hover h3{
    color:#ffffff;
}

/* Texte */

.poste p{
    color:#d8d8d8;
    line-height:1.7;
}

/* Bouton radio */

.radio-poste{
    display:inline-block;
    margin-top:15px;
    padding:12px 20px;
    background:#59cae8;
    color:#fff;
    font-weight:600;
    border-radius:8px;
    cursor:pointer;
    transition:all 0.3s ease;
}

/* Survol du bouton */

.radio-poste:hover{
    transform:scale(1.08);
    background:#3f5060;
    box-shadow:0 8px 20px rgba(89,202,232,.4);
}

/* Radio */

.radio-poste input{
    margin-right:8px;
    cursor:pointer;
}

/* Poste sélectionné */

.radio-poste:has(input:checked){
    background:#28a745;
    color:white;
    box-shadow:0 0 20px rgba(40,167,69,.5);
}

/* POUR BONTON DEPOSER MA CANDIDATURE */

.btn-candidature {
    display: inline-block;
    text-align: center;
    background-color: #3f5060;
    color: #ffffff;
    border: 2px solid #59cae8;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-candidature:hover {
    background-color: #59cae8;
    color: #3f5060;
    border-color: #3f5060;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.btn-candidature:focus-visible {
    outline: 3px solid #59cae8;
    outline-offset: 4px;
}

.btn-candidature:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}









/* POUR PRENDRE RDV */
.containerRDV{
    max-width:800px;
    margin:30px auto;
    background:#3f506063;
    padding:30px;
    border-radius:10px;
    box-shadow:0 0 15px rgba(0,0,0,0.2);
}
label{
    display:block;
    margin-top:15px;
    font-weight:bold;
}

input, select, textarea{
    width:100%;
    padding:10px;
    margin-top:5px;
    border:1px solid #ccc;
    border-radius:5px;
    box-sizing:border-box;
}
 #confirmation{
    display:none;
    margin-top:20px;
    padding:15px;
    background:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;
    border-radius:5px;
    text-align:center;
    font-weight:bold;
}

/* POUR BTN RDV */

.btn-rendez-vous {
    display: inline-block;
    background-color: #3f5060;
    color: #ffffff;
    border: 2px solid #59cae8;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-rendez-vous:hover {
    background-color: #59cae8;
    color: #3f5060;
    border-color: #3f5060;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.btn-rendez-vous:focus-visible {
    outline: 3px solid #59cae8;
    outline-offset: 4px;
}

.btn-rendez-vous:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}


.navbar a{
    color:white;
    text-decoration:none;
    padding:15px 20px;
    display:block;
    font-weight:bold;
    border-top:1px solid rgba(255,255,255,0.2);
}

.navbar a:hover{
    background-color:#59cae8;;
    border-radius: 10%;
    color:#4e4848;
}

/* Menus */
nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin:8px 0;
}

nav a{
    text-decoration:none;
    color:white;
    background:#4f6475;
    padding:12px 18px;
    border-radius:25px;
    transition:0.3s;
    font-weight:bold;
}

nav a:hover{
    background:white;
    color:#3f5060;
}

/* Responsive */
@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-container{
        display:none;
        flex-direction:column;
        width:100%;
        margin-top:15px;
    }

    .nav-container.active{
        display:flex;
    }

    nav{
        flex-direction:column;
        align-items:center;
    }

    nav a{
        width:90%;
        text-align:center;
    }
}

/* #rdvForm button {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 25px auto;
    padding: 15px;
    background: #59cae8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
} */

/* POUR PAGE CONTACT */
/* --- ESPACEMENT SOUS LE HEADER --- */
.contact-page {
  border-radius: 15px;
  margin-top: 22px;  
  padding-top: 70px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 40px;
  background-color: #3f506063;
  transition: background-color 0.3s ease;
}

/* --- CONTENEUR PRINCIPAL --- */
.contact-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  border-top: 5px solid #59cae8;
  border-bottom: 5px solid #59cae8;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- TITRE --- */
.contact-container h1 {
  color: #3f5060;
  margin-bottom: 20px;
  font-size: 1.9rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

/* --- STRUCTURE DES LIGNES --- */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* --- GROUPES DE CHAMPS --- */
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- LABELS --- */
label {
  font-weight: 600;
  color: #3f5060;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

/* --- CHAMPS (STYLE MATERIAL DESIGN) --- */
input,
textarea {
  border: none;
  border-bottom: 2px solid #d0d7e2;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  background-color: #ffffff;
  transition: 
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.15s ease;
}

/* --- ANIMATION SUBTILE AU FOCUS --- */
input:focus,
textarea:focus {
  border-color: #59cae8;
  box-shadow: 0 4px 12px rgba(89,202,232,0.25);
  transform: translateY(-2px);
  outline: none;
}

/* --- BOUTON --- */
.btn-send {
  background-color: #59cae8;
  color: #ffffff;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background-color 0.3s ease, transform 0.15s ease;
  margin-top: 10px;
}

.btn-send:hover {
  background-color: #3f5060;
  transform: translateY(-3px);
}

/* --- DARK MODE AUTOMATIQUE --- */
@media (prefers-color-scheme: dark) {

  /* .contact-page {
    background-color: #1a1d21;
  } */

  .contact-container {
    background-color: #2a2f34;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  }

  .contact-intro{
    color: #d2d6db;
  }

  .contact-container h1,
  label {
    color: #d2d6db;
  }

  input,
  textarea {
    background-color: #3f5060;
    border-bottom-color: #9aa0a6;
    color: #f5f7fa;
  }

  input:focus,
  textarea:focus {
    border-color: #59cae8;
    box-shadow: 0 4px 12px rgba(89,202,232,0.35);
  }

  .btn-send {
    background-color: #59cae8;
  }

  .btn-send:hover {
    background-color: #3f5060;
  }
}

/*  POUR SERVICES*/
/* Container */
.expertise-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border-top: 5px solid #59cae8;
  border-bottom: 5px solid #59cae8;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* Title */
.expertise-container h2 {
  color: #3f5060;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Accordion item */
.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d0d7e2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover dynamique */
.accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Header button */
.accordion-header {
  width: 100%;
  text-align: left;
  background-color: #59cae8;
  color: #fff;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s ease;
}

/* Icône animée */
.accordion-header i {
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-header:hover i {
  transform: rotate(15deg) scale(1.2);
  color: #ffffff;
}

.accordion-header:hover {
  background-color: #3f5060;
}

/* Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #f9fbfc;
  transition: max-height 0.4s ease;
  padding-left: 15px;
  padding-right: 15px;
}

.accordion-content ul {
  padding: 15px 0;
  margin: 0;
  color: #3f5060;
}

.accordion-content li {
  margin-bottom: 8px;
}

/* --- DARK MODE --- */
@media (prefers-color-scheme: dark) {
  .expertise-container {
    background-color: #2a2f34;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
    border-color: #59cae8;
  }

  .expertise-container h2 {
    color: #d2d6db;
  }

  .accordion-item {
    border-color: #444c55;
  }

  .accordion-content {
    background-color: #3f5060;
  }

  .accordion-content ul {
    color: #f5f7fa;
  }
}

/* CSS services*/
.section-title{
  background-color:  #59cae8;
  border-radius: 10px;
 text-align: center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px
}
.section-title h2{
  font-size:34px;
  letter-spacing:-1px;margin:0
}




/* CSS POUR NOS SERVICES PRINCIPALE */
/* Container */
.services-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border-top: 5px solid #59cae8;
  border-bottom: 5px solid #59cae8;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

.services-container h2 {
  color: #3f5060;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Accordion item */
.services-container .accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d0d7e2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover dynamique */
.services-container .accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Header button */
.services-container .accordion-header {
  width: 100%;
  text-align: left;
  background-color: #59cae8;
  color: #fff;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s ease;
}

/* Icône animée */
.services-container .accordion-header i {
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.services-container .accordion-header:hover i {
  transform: rotate(15deg) scale(1.2);
  color: #ffffff;
}

.services-container .accordion-header:hover {
  background-color: #3f5060;
}

/* Content */
.services-container .accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #f9fbfc;
  transition: max-height 0.4s ease;
  padding-left: 15px;
  padding-right: 15px;
}

.services-container .accordion-content ul {
  padding: 15px 0;
  margin: 0;
  color: #3f5060;
}

.services-container .accordion-content li {
  margin-bottom: 8px;
}

/* --- DARK MODE --- */
@media (prefers-color-scheme: dark) {
  .services-container {
    background-color: #2a2f34;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
    border-color: #59cae8;
  }

  .services-container h2 {
    color: #d2d6db;
  }

  .services-container .accordion-item {
    border-color: #444c55;
  }

  .services-container .accordion-content {
    background-color: #3f5060;
  }

  .services-container .accordion-content ul {
    color: #f5f7fa;
  }
}

/* POUUR LES SERVICE PRINCIPAUX */

/* Mise en page générale */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hm-section {
    margin: 3rem 0;
}

.hm-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hm-desc {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Slideshow */
.hm-slideshow {
    position: relative;
    margin: 1.5rem auto 0;
    max-width: 900px;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.hm-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.hm-slide {
    min-width: 100%;
    position: relative;
    color: #fff;
}

.hm-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Légende */
.hm-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
}

/* Boutons navigation */
.hm-prev,
.hm-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1.4rem;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.hm-prev { left: 0.5rem; }
.hm-next { right: 0.5rem; }

.hm-prev:hover,
.hm-next:hover {
    background: rgba(0,0,0,0.85);
    transform: translateY(-50%) scale(1.05);
}

/* Responsive téléphone / tablette */
@media (max-width: 768px) {
    .hm-title {
        font-size: 1.6rem;
    }

    .hm-desc {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .hm-slideshow {
        max-width: 100%;
        border-radius: 10px;
    }

    .hm-caption {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }

    .hm-prev,
    .hm-next {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .hm-section {
        margin: 2rem 0;
    }

    .hm-title {
        font-size: 1.4rem;
    }

    .hm-desc {
        font-size: 0.9rem;
    }

    .hm-caption {
        font-size: 0.8rem;
    }
}

/* CSS POUR LA PAGE A PROPOS */
/* 1. Style général de la section */

    
/* ===== SECTION À PROPOS ===== */
.apropos-section {
    background-color: #3f506063;
    margin: 25px 20px;
    padding: 45px 25px;
    border-radius: 18px;
    border-top: 3px solid #3f5060;
    border-bottom: 3px solid #3f5060;
    box-shadow: 0 8px 20px rgba(63, 80, 96, 0.35);
    position: relative;
    overflow: hidden;
}

.apropos-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TITRE PRINCIPAL ===== */
.apropos-title {
    color: #3f5060;
    text-align: center;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.25;
    margin: 10px 0 40px;
    text-shadow: none;
    animation: aproposZoom 0.8s ease-out both;
    transition: transform 0.3s ease;
}

.apropos-title:hover {
    transform: scale(1.03);
}

/* ===== ANIMATION DE ZOOM SANS 3D ===== */
@keyframes aproposZoom {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* 2. Cartes professionnelles avec ombres et coins arrondis
Ce style s’applique à tes coordonnées, à la définition de H MaTech TI, à l’image, aux quatre cartes de services et aux éléments de la chronologie. */

   
/* ===== CARTES ===== */
.card-3d {
    background-color: rgba(63, 80, 96, 0.12);
    border: 1px solid rgba(89, 202, 232, 0.55);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 6px 16px rgba(63, 80, 96, 0.22);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Zoom léger au survol, sans rotation 3D */
.card-3d:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 24px rgba(63, 80, 96, 0.30);
    border-color: #59cae8;
}

/* ===== GRILLE INTRODUCTION ET IMAGE ===== */
.apropos-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
}

.apropos-text-block {
    min-width: 0;
}

.apropos-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ===== COORDONNÉES ET DÉFINITION ===== */
.apropos-info,
.definition-box {
    margin-bottom: 22px;
}

.apropos-info h3,
.definition-box h3 {
    color: #59cae8;
    margin-top: 0;
}

.apropos-info p,
.definition-box p {
    color: #ffffff;
    line-height: 1.7;
}

/* ===== IMAGE ===== */
/* a activé quand l'image de l'equique soit prete */
/* .apropos-image-card {
    padding: 10px;
    overflow: hidden;
} */

.apropos-image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.apropos-image-card:hover img {
    transform: scale(1.04);
}
/* 3. Section « Pourquoi choisir H MaTech TI ? » */

/* ===== POURQUOI NOUS CHOISIR ===== */
.why-section,
.timeline-section {
    margin-top: 55px;
}

.why-section > h3,
.timeline-section > h3 {
    color: #3f5060;
    text-align: center;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 30px;
    text-shadow: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.why-card {
    text-align: center;
    padding: 25px 18px;
}

.why-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
}

.why-card h4 {
    color: #59cae8;
    font-size: 19px;
    margin: 8px 0 12px;
}

.why-card p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Icônes simples, sans transformation 3D */
.icon-3d {
    filter: drop-shadow(0 3px 4px rgba(63, 80, 96, 0.3));
}
/* 4. Chronologie 2019–2026 */

/* ===== TIMELINE ===== */
.timeline {
    display: grid;
    gap: 18px;
    max-width: 850px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
}

.timeline-dot {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 6px;
    border-radius: 50%;
    background-color: #59cae8;
    box-shadow: 0 0 0 5px rgba(89, 202, 232, 0.15);
}

.timeline-content {
    flex: 1;
}

.timeline-year {
    display: inline-block;
    color: #59cae8;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #ffffff;
    line-height: 1.7;
    margin: 0;
}
/* 5. Adaptation aux téléphones et tablettes */

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .apropos-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .apropos-image-block {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .apropos-section {
        margin: 18px 10px;
        padding: 30px 15px;
        border-radius: 14px;
    }

    .apropos-title {
        margin-bottom: 28px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .card-3d {
        padding: 18px;
    }

    .timeline-item {
        padding: 16px;
        gap: 12px;
    }
}

/* Accessibilité : limiter les animations si demandé */
@media (prefers-reduced-motion: reduce) {
    .apropos-title {
        animation: none;
    }

    .card-3d,
    .apropos-image-card img,
    .apropos-title {
        transition: none;
    }

    .card-3d:hover,
    .apropos-title:hover,
    .apropos-image-card:hover img {
        transform: none;
    }
}




    /* Responsive */
    @media (max-width: 992px) {
        .apropos-grid {
            grid-template-columns: 1fr;
        }

        .apropos-image-block {
            order: -1;
            margin-bottom: 30px;
        }

        .why-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 600px) {
        .apropos-title {
            font-size: 2.1rem;
        }

        .why-grid {
            grid-template-columns: 1fr;
        }

        .timeline {
            padding-left: 18px;
        }
    }


    /* CSS POUR PAGER H MATECH TI GAMERS */
/* ==== STYLE ISOLÉ POUR LA SECTION GAMER ==== */
/* --- NAV --- */
        /* Style du diaporama automatique */
        .carousel-item img {
            height: 350px;
            object-fit: cover;
        }
        .product-card img {
            height: 200px;
            object-fit: cover;
        }

/* CSS POUR SECTIONS LES PARTENAIRES */
.partners{
    padding:80px 5%;
    background:#3f506063
;
    border-radius: 10px;
}

.partners h2{
    text-align:center;
    color:#3f5060;
    font-size:38px;
    margin-bottom:60px;
    font-weight:700;
}

.partners-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:40px;
}

.partner{
    width:180px;
    text-align:center;
    padding:20px;
    transition:all .3s ease;
    cursor:pointer;
}

.partner img{
    width:120px;
    height:70px;
    object-fit:contain;
    filter:grayscale(100%);
    opacity:.75;
    transition:.3s;
}

.partner span{
    display:block;
    margin-top:15px;
    color:#3f5060;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.partner:hover img{
    filter:none;
    opacity:1;
    transform:scale(1.08);
}

.partner:hover span{
    color:#59cae8;
}

@media(max-width:768px){

    .partners-list{
        gap:25px;
    }

    .partner{
        width:140px;
    }

    .partner img{
        width:90px;
        height:55px;
    }

}